<?php

namespace App\Events;

use App\Models\FrontendUser;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class UserAuthed
{
    use Dispatchable;
    use InteractsWithSockets;
    use SerializesModels;

    /** @var FrontendUser */
    public $user;

    /**
     * Create a new event instance.
     */
    public function __construct(FrontendUser $user)
    {
        $this->user = $user;
    }
}
